package com.spark.lola.logistics.request;

import com.spark.lola.logistics.constant.LogisticsConstant;
import com.spark.lola.logistics.entity.OrderProduct;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: Zhi-peng wang
 * @date: 2020/06/11 15:46
 **/
@Getter
@Setter
@ApiModel(value = "OtherOrderSaveRequest", description = "创建/修改外调车货运单")
public class OtherOrderSaveRequest {

    private Long id;

    @ApiModelProperty(name = "carPhone", value = "外调车联系方式")
    private String carPhone;

    @ApiModelProperty(name = "carNo", value = "外调车牌号")
    private String carNo;

    @ApiModelProperty(name = "semitrailerNo", value = "挂车牌号")
    private String semitrailerNo;

    @ApiModelProperty(name = "pageNo", value = "纸厂编号")
    private String pageNo;

    @ApiModelProperty(name = "startAreaIds", value = "发货地省市区Ids")
    private String startAreaIds;

    @ApiModelProperty(name = "startArea", value = "发货地省市区")
    private String startArea;

    @ApiModelProperty(name = "startAddress", value = "发货地详细地址")
    private String startAddress;

    @ApiModelProperty(name = "endAreaIds", value = "目的地省市区Ids")
    private String endAreaIds;

    @ApiModelProperty(name = "endArea", value = "目的地省市区")
    private String endArea;

    @ApiModelProperty(name = "endAddress", value = "目的地详细地址")
    private String endAddress;

    @ApiModelProperty(name = "orderProductList", value = "货运单商品信息集合")
    private List<OrderProduct> orderProductList = new ArrayList<>();

}
